import axios from '../AxiosConfig.js'

export const listConsumer = () => {
    return axios({
        method: 'get',
        url: '/api/consumers'
    })
}

export const listConsumerByVhost = (vhost) => {
    return axios({
        method: 'get',
        url: '/api/consumers/' + vhost
    })
}



